from django.shortcuts import render
from django.views import View


# 1.获取首页


class IndexView(View):
    def get(self, request):
        return render(request, 'index.html')  # 渲染首页
